
const { Sequelize } = require("sequelize");

const dbName = 'qa' ;
const username = 'root' ;
const password = '' ;

const options = {
    host: 'localhost',
    dialect: 'mysql',
    pool: {
        max: 5,
        min: 0,
        idle: 30000
    }
}

const sequelize = new Sequelize( dbName ,username, password, options );

module.exports = sequelize ;